home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.1
/
ppmquantall.1
< prev
next >
Wrap
Text File
|
1995-07-25
|
3KB
|
67 lines
ppppppppmmmmqqqquuuuaaaannnnttttaaaallllllll((((1111)))) XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((22227777 JJJJuuuullllyyyy 1111999999990000)))) ppppppppmmmmqqqquuuuaaaannnnttttaaaallllllll((((1111))))
NNNNAAAAMMMMEEEE
ppmquantall - run ppmquant on a bunch of files all at once,
so they share a common colormap
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
ppppppppmmmmqqqquuuuaaaannnnttttaaaallllllll _n_c_o_l_o_r_s _p_p_m_f_i_l_e ...
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Takes a bunch of portable pixmap as input. Chooses _n_c_o_l_o_r_s
colors to best represent all of the images, maps the
existing colors to the new ones, and oooovvvveeeerrrrwwwwrrrriiiitttteeeessss tttthhhheeee iiiinnnnppppuuuutttt
ffffiiiilllleeeessss with the new quantized versions.
Verbose explanation: Let's say you've got a dozen pixmaps
that you want to display on the screen all at the same time.
Your screen can only display 256 different colors, but the
pixmaps have a total of a thousand or so different colors.
For a single pixmap you solve this problem with _p_p_m_q_u_a_n_t;
this script solves it for multiple pixmaps. All it does is
concatenate them together into one big pixmap, run _p_p_m_q_u_a_n_t
on that, and then split it up into little pixmaps again.
(Note that another way to solve this problem is to pre-
select a set of colors and then use _p_p_m_q_u_a_n_t's ----mmmmaaaapppp option
to separately quantize each pixmap to that set.)
SSSSEEEEEEEE AAAALLLLSSSSOOOO
ppmquant(1), ppm(5)
BBBBUUUUGGGGSSSS
It's a csh script. Csh scripts are not portable to System
V. Scripts in general are not portable to non-Unix
environments.
AAAAUUUUTTTTHHHHOOOORRRR
Copyright (C) 1991 by Jef Poskanzer.
Page 1 (printed 9/7/93)